home *** CD-ROM | disk | FTP | other *** search
Text File | 2001-11-28 | 44.4 KB | 1,703 lines |
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
-
-
- //-----------------------earth mechs
- create "human mech"
- position 500 on ground 100
- pointing_at 100 on ground 1
- label "emech_dummy"
- task
-
- //-------- emech gosubs --------
- comment
- gosub "finish_anim"
-
- gosub "human_mech_stomp_1"
- gosub "human_mech_stomp_2"
- gosub "human_mech_stomp_3"
- gosub "human_mech_stomp_4"
-
- gosub "emech_power_down"
-
- gosub "emech_left_180"
- gosub "emech_right_180"
- gosub "emech_left_90"
- gosub "emech_right_90"
- gosub "emech_left_60"
- gosub "emech_right_60"
- gosub "emech_left_30"
- gosub "emech_right_30"
-
- gosub "emech_walk_5"
- gosub "emech_walk_9"
- gosub "emech_walk_33"
- gosub "emech_walk_65"
-
- gosub "emech_prepare_walk_shoot"
- gosub "emech_walk_shoot_1"
- gosub "emech_walk_shoot_2"
- gosub "emech_end_walk_shoot"
- gosub "emech_walk_ready_to_shoot"
-
- gosub "emech_shoot_1"
-
- gosub "emech_prepare_arm_fire"
- gosub "emech_arm_fire_1"
- gosub "emech_arm_fire_2"
- gosub "emech_end_arm_fire"
- endcomment
- //-------- emech gosubs --------
-
- wait_until flag 31 set
- wait_until flag 31 clear
-
- .finish_anim
- do
- throttle 1 frames 1
- until "current_object" finished animation
- rotate 0 0 0 frames 0
- throttle 0 frames 0
- return
-
- .emech_left_180
- gosub "emech_left_90"
- gosub "emech_left_90"
- return
-
- .emech_right_180
- gosub "emech_right_90"
- gosub "emech_right_90"
- return
-
- .emech_left_90
- gosub "emech_left_60"
- gosub "emech_left_30"
- return
-
- .emech_right_90
- gosub "emech_right_60"
- gosub "emech_right_30"
- return
-
- .emech_left_60
- gosub "emech_left_30"
- gosub "emech_left_30"
- return
-
- .emech_right_60
- gosub "emech_right_30"
- gosub "emech_right_30"
- return
-
- .emech_left_30
- playanim me 0
- rotate 0 0.2 0 frames 0
- throttle 1 frames 184;68
- rotate 0 0 0 frames 0
- gosub "finish_anim"
- return
-
- .emech_right_30
- playanim me 0
- rotate 0 -0.2 0 frames 0 ; all were -1/1
- throttle 1 frames 184;68 ; all were frames 4
- rotate 0 0 0 frames 0
- gosub "finish_anim"
- return
-
- .emech_left_a_bit
- playanim me 0
- rotate 0 0.2 0 frames 0
- throttle 1 frames 46
- rotate 0 0 0 frames 0
- gosub "finish_anim"
- return
-
- .emech_walk_5
- playanim me 0
- throttle 1 frames 112 ;walk 4 + 1/2 paces
- gosub "finish_anim"
- return
-
- .emech_walk_9
- playanim me 0
- throttle 1 frames 225 ;walk 9 paces
- gosub "finish_anim"
- return
-
- .emech_walk_33
- playanim me 0
- throttle 1 frames 897 ;walk 33 paces
- gosub "finish_anim"
- return
-
- .emech_walk_65
- playanim me 0
- throttle 1 frames 1793 ;walk 65 paces
- gosub "finish_anim"
- return
-
- .emech_power_down
- playanim me 1
- throttle 0 frames 90
- return
-
- .emech_prepare_walk_shoot
- playanim me 2
- gosub "finish_anim"
- return
-
- .emech_walk_shoot_1
- playanim me 3
- throttle 1 frames 15
- fire_main
- throttle 1 frames 15
- fire_main
- gosub "finish_anim"
- return
-
- .emech_walk_no_shoot_1
- playanim me 3
- throttle 1 frames 30
- gosub "finish_anim"
- return
-
- .emech_walk_shoot_2
- playanim me 3
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- gosub "finish_anim"
- return
-
- .emech_walk_no_shoot_2
- playanim me 3
- throttle 1 frames 40
- gosub "finish_anim"
- return
-
- .emech_end_walk_shoot
- playanim me 11 ; emech gun ports and arms down
- gosub "finish_anim"
- playanim me 0
- gosub "finish_anim"
- return
-
- .emech_walk_ready_to_shoot
- playanim me 3 ;walk n fire ready (walk with gun ports ready)
- throttle 1 frames 56
- return
-
- .emech_shoot_1
- fire_main
- pause 10
- fire_main
- pause 10
- fire_main
- pause 10
- fire_main
- pause 10
- fire_main
- pause 10
- fire_main
- pause 10
- fire_main
- pause 10
- fire_main
- pause 10
- return
-
- .emech_prepare_arm_fire
- playanim me 6 ;stop2ready
- throttle 0 frames 44
- playanim me 7 ;ready2aim
- throttle 0 frames 51
- return
-
- .emech_end_arm_fire
- playanim me 9 ;aim2ready
- throttle 0 frames 29
- playanim me 10 ;ready2walk
- throttle 0 frames 26
- return
-
- .emech_arm_fire_1
- playanim me 8 ;armfire
- fire_secondary
- throttle 0 frames 18
- playanim me 8 ;armfire
- fire_secondary
- throttle 0 frames 18
- return
-
- .emech_arm_no_fire_1
- putanim me 8 0 ;no arm fire - prep 1
- throttle 0 frames 36
- return
-
- .emech_arm_fire_2
- playanim me 8 ;armfire
- fire_secondary
- throttle 0 frames 20
- playanim me 8 ;armfire
- fire_secondary
- throttle 0 frames 20
- playanim me 8 ;armfire
- fire_secondary
- throttle 0 frames 20
- playanim me 8 ;armfire
- fire_secondary
- throttle 0 frames 20
- playanim me 8 ;armfire
- fire_secondary
- throttle 0 frames 20
- return
-
- .emech_arm_no_fire_2
- putanim me 8 0 ;no arm fire - prepped
- throttle 0 frames 100
- return
-
- //************************************************************************************
- .human_mech_stomp_1
-
- procedure "mech_sounds1"
- label "xreference_object"
- do
- wait_until distance_between "xreference_object"."lfoot112" and 0 on ground 0 local to "xreference_object"."lfoot112" > 10
- wait_until distance_between "xreference_object"."lfoot112" and 0 on ground 0 local to "xreference_object"."lfoot112" < 10
- setcurrentobject "xreference_object"."lfoot112"
- dosound trig_id 10 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down"
- ; trigon "current_object" 10
- if distance_between "xreference_object" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke -100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "xreference_object"."lfoot112" "null"
-
-
- wait_until distance_between "xreference_object"."rfoot128" and 0 on ground 0 local to "xreference_object"."rfoot128" > 10
- wait_until distance_between "xreference_object"."rfoot128" and 0 on ground 0 local to "xreference_object"."rfoot128" < 10
- setcurrentobject "xreference_object"."rfoot128"
- dosound trig_id 11 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Rt_Down"
- ; trigon "current_object" 11
- if distance_between "xreference_object" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "xreference_object"."rfoot128" "null"
- forever
- end_procedure
-
- return
-
- //************************************************************************************
- .human_mech_stomp_2
-
- procedure "mech_sounds2"
- label "thingy1"
- do
- wait_until distance_between "thingy1"."lfoot112" and 0 on ground 0 local to "thingy1"."lfoot112" > 10
- wait_until distance_between "thingy1"."lfoot112" and 0 on ground 0 local to "thingy1"."lfoot112" < 10
- setcurrentobject "thingy1"."lfoot112"
- dosound trig_id 12 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down"
- ; trigon "current_object" 12
- if distance_between "thingy1" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke -100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "thingy1"."lfoot112" "null"
-
-
- wait_until distance_between "thingy1"."rfoot128" and 0 on ground 0 local to "thingy1"."rfoot128" > 10
- wait_until distance_between "thingy1"."rfoot128" and 0 on ground 0 local to "thingy1"."rfoot128" < 10
- setcurrentobject "thingy1"."rfoot128"
- dosound trig_id 13 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Rt_Down"
- ; trigon "current_object" 13
- if distance_between "thingy1" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "thingy1"."rfoot128" "null"
- forever
- end_procedure
-
- return
-
- //************************************************************************************
- .human_mech_stomp_3
-
- procedure "mech_sounds3"
- label "thingy2"
- do
- wait_until distance_between "thingy2"."lfoot112" and 0 on ground 0 local to "thingy2"."lfoot112" > 10
- wait_until distance_between "thingy2"."lfoot112" and 0 on ground 0 local to "thingy2"."lfoot112" < 10
- setcurrentobject "thingy2"."lfoot112"
- dosound trig_id 14 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down"
- ; trigon "current_object" 14
- if distance_between "thingy2" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke -100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "thingy2"."lfoot112" "null"
-
-
- wait_until distance_between "thingy2"."rfoot128" and 0 on ground 0 local to "thingy2"."rfoot128" > 10
- wait_until distance_between "thingy2"."rfoot128" and 0 on ground 0 local to "thingy2"."rfoot128" < 10
- setcurrentobject "thingy2"."rfoot128"
- dosound trig_id 15 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Rt_Down"
- ; trigon "current_object" 15
- if distance_between "thingy2" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "thingy2"."rfoot128" "null"
- forever
- end_procedure
-
- return
-
- //************************************************************************************
- .human_mech_stomp_4
-
- procedure "mech_sounds4"
- label "thingy3"
- do
- wait_until distance_between "thingy3"."lfoot112" and 0 on ground 0 local to "thingy3"."lfoot112" > 10
- wait_until distance_between "thingy3"."lfoot112" and 0 on ground 0 local to "thingy3"."lfoot112" < 10
- setcurrentobject "thingy3"."lfoot112"
- dosound trig_id 16 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down"
- ; trigon "current_object" 16
- if distance_between "thingy3" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke -100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "thingy3"."lfoot112" "null"
-
-
- wait_until distance_between "thingy3"."rfoot128" and 0 on ground 0 local to "thingy3"."rfoot128" > 10
- wait_until distance_between "thingy3"."rfoot128" and 0 on ground 0 local to "thingy3"."rfoot128" < 10
- setcurrentobject "thingy3"."rfoot128"
- dosound trig_id 17 "current_object" "22 HANGER SCENE\22 Craft_Contact_Deck\Craft_Contact_Deck.1" ;"22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Rt_Down"
- ; trigon "current_object" 17
- if distance_between "thingy3" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -30 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "thingy3"."rfoot128" "null"
- forever
- end_procedure
-
- return
-
- //************************************************************************************
-
- end //----- of emech_dummy's task
-
-
-
-
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
-
-
-
- //-----------------------alien mechs
-
- create "alien mech"
- position 1 on ground 1
- pointing_at 1 on ground 100
- label "amech_dummy"
- task
-
- //-------- amech gosubs --------
- comment
- gosub "alien_mech_stomp_1"
- gosub "alien_mech_stomp_2"
- gosub "alien_mech_stomp_3"
- gosub "alien_mech_stomp_4"
-
- gosub "amech_power_up"
- gosub "amech_stopped_to_walk"
-
- gosub "amech_left_180"
- gosub "amech_right_180"
- gosub "amech_left_90"
- gosub "amech_right_90"
- gosub "amech_left_60"
- gosub "amech_right_60"
- gosub "amech_left_30"
- gosub "amech_right_30"
-
- gosub "amech_walk_4"
- gosub "amech_walk_8"
- gosub "amech_walk_30"
- gosub "amech_walk_60"
-
- gosub "amech_walk_shoot_1"
- gosub "amech_walk_shoot_2"
- endcomment
- //-------- amech gosubs --------
-
-
- wait_until flag 31 set
- wait_until flag 31 clear
-
-
- .amech_left_180
- gosub "amech_left_90"
- gosub "amech_left_90"
- return
-
- .amech_right_180
- gosub "amech_right_90"
- gosub "amech_right_90"
- return
-
- .amech_left_90
- gosub "amech_left_60"
- gosub "amech_left_30"
- return
-
- .amech_right_90
- gosub "amech_right_60"
- gosub "amech_right_30"
- return
-
- .amech_left_60
- gosub "amech_left_30"
- gosub "amech_left_30"
- return
-
- .amech_right_60
- gosub "amech_right_30"
- gosub "amech_right_30"
- return
-
- .amech_left_30
- playanim me 0
- rotate 0 0.3 0 frames 0
- throttle 1 frames 232
- rotate 0 0 0 frames 0
- gosub "finish_anim"
- return
-
- .amech_right_30
- playanim me 0
- rotate 0 -0.3 0 frames 0
- throttle 1 frames 232
- rotate 0 0 0 frames 0
- gosub "finish_anim"
- return
-
- .amech_walk_4
- playanim me 0 ;wait
- throttle 1 frames 59 ;walk 4 + 1/2 paces
- return
-
- .amech_walk_8
- playanim me 0
- throttle 1 frames 232 ;walk 9 paces
- return
-
- .amech_walk_30
- playanim me 0
- throttle 1 frames 929 ;walk 33 paces
- return
-
- .amech_walk_60
- playanim me 0
- throttle 1 frames 1857 ;walk 65 paces
- return
-
- .amech_walk_shoot_1
- playanim me 0
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 38
- return
-
- .amech_walk_no_shoot_1
- playanim me 0
- throttle 1 frames 58
- return
-
- .amech_walk_shoot_2
- playanim me 0
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 18
- return
-
- .amech_walk_no_shoot_2
- playanim me 0
- throttle 1 frames 58
- return
-
- .amech_power_up
- playanim me 1
- throttle 0 frames 63
- return
-
- .amech_stopped_to_walk
- playanim me 3
- throttle 0 frames 59
- ; gosub "finish_anim"
- return
-
- //************************************************************************************
- .alien_mech_stomp_1
-
- procedure "amech_stemp_sounds1"
- label "amech_stomp1"
- do
- pause 1
- wait_until distance_between "amech_stomp1"."lfoot110" and 0 on ground 0 relative to "amech_stomp1"."lfoot110" > 70;76
- wait_until distance_between "amech_stomp1"."lfoot110" and 0 on ground 0 relative to "amech_stomp1"."lfoot110" < 70;76
- setcurrentobject "amech_stomp1"."lfoot110"
- dosound trig_id 18 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 18
- if distance_between "amech_stomp1" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 50 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp1"."lfoot110" "null"
-
-
- wait_until distance_between "amech_stomp1"."rfoot127" and 0 on ground 0 relative to "amech_stomp1"."rfoot127" > 70;76
- wait_until distance_between "amech_stomp1"."rfoot127" and 0 on ground 0 relative to "amech_stomp1"."rfoot127" < 70;76
- setcurrentobject "amech_stomp1"."rfoot127"
- dosound trig_id 19 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 19
- if distance_between "amech_stomp1" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp1"."rfoot127" "null"
- pause 1
- forever
- end_procedure
-
- return
-
- //************************************************************************************
- .alien_mech_stomp_2
-
- procedure "amech_stemp_sounds2"
- label "amech_stomp2"
- do
- pause 1
- wait_until distance_between "amech_stomp2"."lfoot110" and 0 on ground 0 relative to "amech_stomp2"."lfoot110" > 70;76
- wait_until distance_between "amech_stomp2"."lfoot110" and 0 on ground 0 relative to "amech_stomp2"."lfoot110" < 70;76
- setcurrentobject "amech_stomp2"."lfoot110"
- dosound trig_id 20 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 20
- if distance_between "amech_stomp2" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 50 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp2"."lfoot110" "null"
-
-
- wait_until distance_between "amech_stomp2"."rfoot127" and 0 on ground 0 relative to "amech_stomp2"."rfoot127" > 70;76
- wait_until distance_between "amech_stomp2"."rfoot127" and 0 on ground 0 relative to "amech_stomp2"."rfoot127" < 70;76
- setcurrentobject "amech_stomp2"."rfoot127"
- dosound trig_id 21 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 21
- if distance_between "amech_stomp2" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp2"."rfoot127" "null"
- pause 1
- forever
- end_procedure
-
- return
-
- //************************************************************************************
- .alien_mech_stomp_3
-
- procedure "amech_stemp_sounds3"
- label "amech_stomp3"
- do
- pause 1
- wait_until distance_between "amech_stomp3"."lfoot110" and 0 on ground 0 relative to "amech_stomp3"."lfoot110" > 70;76
- wait_until distance_between "amech_stomp3"."lfoot110" and 0 on ground 0 relative to "amech_stomp3"."lfoot110" < 70;76
- setcurrentobject "amech_stomp3"."lfoot110"
- dosound trig_id 22 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 22
- if distance_between "amech_stomp3" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 50 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp3"."lfoot110" "null"
-
-
- wait_until distance_between "amech_stomp3"."rfoot127" and 0 on ground 0 relative to "amech_stomp3"."rfoot127" > 70;76
- wait_until distance_between "amech_stomp3"."rfoot127" and 0 on ground 0 relative to "amech_stomp3"."rfoot127" < 70;76
- setcurrentobject "amech_stomp3"."rfoot127"
- dosound trig_id 23 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 23
- if distance_between "amech_stomp3" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp3"."rfoot127" "null"
- pause 1
- forever
- end_procedure
-
- return
-
- //************************************************************************************
- .alien_mech_stomp_4
-
- procedure "amech_stemp_sounds4"
- label "amech_stomp4"
- do
- pause 1
- wait_until distance_between "amech_stomp4"."lfoot110" and 0 on ground 0 relative to "amech_stomp4"."lfoot110" > 70;76
- wait_until distance_between "amech_stomp4"."lfoot110" and 0 on ground 0 relative to "amech_stomp4"."lfoot110" < 70;76
- setcurrentobject "amech_stomp4"."lfoot110"
- dosound trig_id 24 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 24
- if distance_between "amech_stomp4" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 50 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp4"."lfoot110" "null"
-
-
- wait_until distance_between "amech_stomp4"."rfoot127" and 0 on ground 0 relative to "amech_stomp4"."rfoot127" > 70;76
- wait_until distance_between "amech_stomp4"."rfoot127" and 0 on ground 0 relative to "amech_stomp4"."rfoot127" < 70;76
- setcurrentobject "amech_stomp4"."rfoot127"
- dosound trig_id 25 "current_object" "22 MECH_ROBOTS\22 Mech Walk 1\Mech1_Walk_Lt_Down" ;group HUGE_STRUCTURES
- ; trigon "current_object" 25
- if distance_between "amech_stomp4" and "camera" < 10000
- {
- judder time 5 yawmax 0.00003 pitchmax 0.00004
- }
- emitsmoke 100 -50 0 frames 30 grow 4 size 75 rate 0 color 50 50 50 alpha 10 vel 0 2 0 rand 13 2 13
- pause 7
- set_operate "amech_stomp4"."rfoot127" "null"
- pause 1
- forever
- end_procedure
-
- return
-
- //************************************************************************************
-
- end //-------- of amech_dummy's task
-
-
-
-
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //------------------------------------
- create "hog"
- position 1350 on ground 1145
- label "hog_dummy"
- task
- //-------- hog gosubs --------
- comment
- gosub "hog_walk"
- endcomment
- //-------- hog gosubs --------
-
- wait_until flag 31 set
- wait_until flag 31 clear
-
- .hog_walk
- playanim me 0
- throttle 0.15 frames 144
- return
-
- .hog_jog
- playanim me 5
- throttle 0.8 frames 144
- return
-
- //-----------------------------------------------------
-
- end //-------- of hog_dummy's task
-
-
-
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //------------------------------------
- create "terauman"
- position 1350 on ground 1145
- label "terauman_dummy"
- task
- //-------- hog gosubs --------
- comment
- gosub "terry_talk"
- endcomment
- //-------- hog gosubs --------
-
- wait_until flag 31 set
- wait_until flag 31 clear
-
- .terry_talk
- playanim me 1
- throttle 0 frames 320
- return
-
- .terry_walk
- playanim me 0
- throttle 0.41 frames 144
- return
-
- .terry_shuffle
- playanim me 4
- throttle 0.11 frames 34
- return
-
- .terry_run
- playanim me 3
- throttle 1 frames 17
- return
-
- //-----------------------------------------------------
-
- end //-------- of terauman_dummy's task
-
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
-
- //------------------------------------
- create "human bomb"
- position 1350 on ground 1145
- label "bomb_dummy"
- task
- //-------- bomb gosubs --------
- comment
- gosub "bomb_count"
- endcomment
- //-------- bomb gosubs --------
-
- wait_until flag 31 set
- wait_until flag 31 clear
-
- .bomb_count
- playanim me 0
- throttle 0.1 frames 60
- return
-
- //-----------------------------------------------------
-
- end //-------- of bomb_dummy's task
-
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
-
- create "gi"
- position 1350 on ground 1145
- label "gi_dummy"
- task
-
- //-------- gi gosubs --------
- comment
-
- gosub "gi_stomp_1"
- gosub "gi_stomp_2"
-
- gosub "gi_run_1"
- gosub "gi_run_2"
- gosub "gi_run_3"
- gosub "gi_run_rotate_left_90"
- gosub "gi_run_rotate_right_90"
- gosub "gi_run_rotate_left_60"
- gosub "gi_run_rotate_right_60"
- gosub "gi_run_rotate_left_30"
- gosub "gi_run_rotate_right_30"
-
- gosub "gi_run_shoot_1"
- gosub "gi_kneel"
- gosub "gi_kneel_look"
-
- gosub "gi_walk_1"
- gosub "gi_walk_2"
- gosub "gi_walk_3"
- gosub "gi_walk_4"
- gosub "gi_walk_rotate_left_90"
- gosub "gi_walk_rotate_right_90"
- gosub "gi_walk_rotate_left_60"
- gosub "gi_walk_rotate_right_60"
- gosub "gi_walk_rotate_left_30"
- gosub "gi_walk_rotate_right_30"
-
- gosub "gi_casual_walk_1"
- gosub "gi_casual_walk_2"
- gosub "gi_casual_walk_3"
- gosub "gi_casual_walk_rotate_left_90"
- gosub "gi_casual_walk_rotate_right_90"
- gosub "gi_casual_walk_rotate_left_60"
- gosub "gi_casual_walk_rotate_right_60"
- gosub "gi_casual_walk_rotate_left_30"
- gosub "gi_casual_walk_rotate_right_30"
-
- gosub "gi_kicking_dust" // idly kicks dust
- gosub "gi_lightup" // lights up ciggy
-
- gosub "gi_death_forwards"
- gosub "gi_death_backwards"
- gosub "gi_tenshun" // stand to attention (on duty)
- gosub "gi_a_pose"
- gosub "gi_tenlook" // looks over left shoulder then shakes his head
-
- gosub "gi_aim"
- gosub "gi_fire"
-
- endcomment
- //-------- gi gosubs --------
-
- wait_until flag 31 set
- wait_until flag 31 clear
-
- .gi_run_finish_anim
- do
- throttle 1 frames 1
- until "current_object" finished animation
- rotate 0 0 0 frames 0
- throttle 0 frames 0
- return
-
- .gi_casual_walk_finish_anim
- do
- throttle 0.32 frames 1
- until "current_object" finished animation
- rotate 0 0 0 frames 0
- throttle 0 frames 0
- return
-
- .gi_walk_finish_anim
- do
- throttle 0.38 frames 1
- until "current_object" finished animation
- rotate 0 0 0 frames 0
- throttle 0 frames 0
- return
-
- //---------------
- .gi_walk_1
- playanim me 0
- throttle 0.38 frames 36
- return
-
- .gi_walk_2
- playanim me 0
- throttle 0.38 frames 72
- return
-
- .gi_walk_3
- playanim me 0
- throttle 0.38 frames 144
- return
-
- .gi_walk_4
- playanim me 0
- throttle 0.38 frames 288
- return
-
- .gi_walk_rotate_left_90
- gosub "gi_walk_rotate_left_60"
- gosub "gi_walk_rotate_left_30"
- return
-
- .gi_walk_rotate_right_90
- gosub "gi_walk_rotate_right_60"
- gosub "gi_walk_rotate_right_30"
- return
-
- .gi_walk_rotate_left_60
- gosub "gi_walk_rotate_left_30"
- gosub "gi_walk_rotate_left_30"
- return
-
- .gi_walk_rotate_right_60
- gosub "gi_walk_rotate_right_30"
- gosub "gi_walk_rotate_right_30"
- return
-
- .gi_walk_rotate_left_30
- playanim me 0
- rotate 0 0.03 0 frames 0
- throttle 0.38 frames 88
- rotate 0 0 0 frames 0
- gosub "gi_walk_finish_anim"
- return
-
- .gi_walk_rotate_right_30
- playanim me 0
- rotate 0 -0.03 0 frames 0 ;-0.05
- throttle 0.38 frames 88 ;172
- rotate 0 0 0 frames 0
- gosub "gi_walk_finish_anim"
- return
- //---------------
-
-
- //---------------
- .gi_run_1
- playanim me 3
- throttle 1 frames 23
- return
-
- .gi_run_2
- playanim me 3
- throttle 1 frames 45
- return
-
- .gi_run_3
- playanim me 3
- throttle 1 frames 89
- return
-
- .gi_run_rotate_left_90
- gosub "gi_run_rotate_left_60"
- gosub "gi_run_rotate_left_30"
- return
-
- .gi_run_rotate_right_90
- gosub "gi_run_rotate_right_60"
- gosub "gi_run_rotate_right_30"
- return
-
- .gi_run_rotate_left_60
- gosub "gi_run_rotate_left_30"
- gosub "gi_run_rotate_left_30"
- return
-
- .gi_run_rotate_right_60
- gosub "gi_run_rotate_right_30"
- gosub "gi_run_rotate_right_30"
- return
-
- .gi_run_rotate_left_30
- playanim me 3
- rotate 0 0.03 0 frames 0 ;0.05
- throttle 1 frames 88
- rotate 0 0 0 frames 0
- gosub "gi_run_finish_anim"
- ; do
- ; rotate 0 0.15 0 frames 0
- ; throttle 1 frames 4
- ; for 44 loops
- return
-
- .gi_run_rotate_right_30
- playanim me 3
- rotate 0 -0.03 0 frames 0
- throttle 1 frames 88 ;172
- rotate 0 0 0 frames 0
- gosub "gi_run_finish_anim"
- ; do
- ; rotate 0 -0.15 0 frames 0
- ; throttle 1 frames 4
- ; for 44 loops
- return
- //---------------
-
-
- .gi_run_shoot_1
- fire_main
- playanim me 3
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 10
- fire_main
- throttle 1 frames 14
- return
-
- .gi_kneel
- playanim me 16
- throttle 1 frames 11
- playanim me 17
- throttle 0 frames 24
- return
-
- .gi_kneel_look
- throttle 0 frames 1
- playanim me 15 frames 180
- do
- throttle 0 frames 1
- until "current_object" finished animation
- return
-
- .gi_death_forwards
- playanim me 5
- return
-
- .gi_death_backwards
- playanim me 4
- return
-
- .gi_tenshun
- putanim me 8 1
- return
-
- .gi_a_pose
- playanim me 9
- return
-
- .gi_tenlook
- playanim me 11
- return
-
- .gi_lightup
- playanim me 12
- return
-
- .gi_march
- playanim me 13
- throttle 0.9 frames 24
- return
-
- .gi_kicking_dust
- playanim me 18
- return
-
- .gi_aim
- playanim me 6
- throttle 0 frames 16
- return
-
- .gi_fire
- playanim me 1
- throttle 0 frames 4
- fire_main
- throttle 0 frames 4
- fire_main
- throttle 0 frames 4
- fire_main
- return
-
- //-------------------------
- .gi_shuffle_1
- playanim me 25
- throttle 0.15 frames 70
- return
- //-------------------------
-
- //-------------------------
- .gi_sneak
- playanim me 24
- throttle 0.1 frames 70
- return
- //-------------------------
-
- //-------------------------
- .gi_nu_run
- playanim me 28
- throttle 1 frames 18
- return
- //-------------------------
-
-
- //---------------
- .gi_casual_walk_1
- playanim me 14
- throttle 0.32 frames 70
- return
-
- .gi_casual_walk_2
- playanim me 14
- throttle 0.32 frames 140
- return
-
- .gi_casual_walk_3
- playanim me 14
- throttle 0.32 frames 280
- return
-
- .gi_casual_walk_rotate_left_90
- gosub "gi_casual_walk_rotate_left_60"
- gosub "gi_casual_walk_rotate_left_30"
- return
-
- .gi_casual_walk_rotate_right_90
- gosub "gi_casual_walk_rotate_right_60"
- gosub "gi_casual_walk_rotate_right_30"
- return
-
- .gi_casual_walk_rotate_left_60
- gosub "gi_casual_walk_rotate_left_30"
- gosub "gi_casual_walk_rotate_left_30"
- return
-
- .gi_casual_walk_rotate_right_60
- gosub "gi_casual_walk_rotate_right_30"
- gosub "gi_casual_walk_rotate_right_30"
- return
-
- .gi_casual_walk_rotate_left_30
- playanim me 14
- rotate 0 0.03 0 frames 0 ;0.1
- throttle 0.32 frames 140
- rotate 0 0 0 frames 0
- gosub "gi_casual_walk_finish_anim"
- return
-
- .gi_casual_walk_rotate_right_30
- playanim me 14
- rotate 0 -0.03 0 frames 0
- throttle 0.32 frames 140
- rotate 0 0 0 frames 0
- gosub "gi_casual_walk_finish_anim"
- return
- //---------------
-
- //************************************************************************************
- .gi_stomp_1
-
- procedure "gi_sounds_1"
-
- ;referenceobject "current_object"
- label "gi1_reference_object"
- do
- wait_until distance_between "gi1_reference_object"."LFOOT68" and 0 on ground 0 local to "gi1_reference_object"."LFOOT68" > 5
- wait_until distance_between "gi1_reference_object"."LFOOT68" and 0 on ground 0 local to "gi1_reference_object"."LFOOT68" < 5
-
- setcurrentobject "gi1_reference_object"."LFOOT68"
- emitsmoke 0 -10 0 frames 2 grow 1 size 1 rate 0 color 50 50 50 alpha 10 vel 0 0.2 0 rand 0.4 0.4 0.4
- pause 4
- set_operate "gi1_reference_object"."LFOOT68" "null"
-
- wait_until distance_between "gi1_reference_object"."RFOOT615" and 0 on ground 0 local to "gi1_reference_object"."RFOOT615" > 5
- wait_until distance_between "gi1_reference_object"."RFOOT615" and 0 on ground 0 local to "gi1_reference_object"."RFOOT615" < 5
-
- setcurrentobject "gi1_reference_object"."RFOOT615"
- emitsmoke 0 -10 0 frames 2 grow 1 size 1 rate 0 color 50 50 50 alpha 10 vel 0 0.2 0 rand 0.4 0.4 0.4
- pause 4
- set_operate "gi1_reference_object"."RFOOT615" "null"
- forever
-
- end_procedure
-
- return
-
- //************************************************************************************
- .gi_stomp_2
-
- procedure "gi_sounds_2"
-
- ;referenceobject "current_object"
- label "gi2_reference_object"
- do
- wait_until distance_between "gi2_reference_object"."LFOOT68" and 0 on ground 0 local to "gi2_reference_object"."LFOOT68" > 5
- wait_until distance_between "gi2_reference_object"."LFOOT68" and 0 on ground 0 local to "gi2_reference_object"."LFOOT68" < 5
-
- setcurrentobject "gi2_reference_object"."LFOOT68"
- emitsmoke 0 -10 0 frames 2 grow 1 size 1 rate 0 color 50 50 50 alpha 10 vel 0 0.2 0 rand 0.4 0.4 0.4
- pause 4
- set_operate "gi2_reference_object"."LFOOT68" "null"
-
- wait_until distance_between "gi2_reference_object"."RFOOT615" and 0 on ground 0 local to "gi2_reference_object"."RFOOT615" > 5
- wait_until distance_between "gi2_reference_object"."RFOOT615" and 0 on ground 0 local to "gi2_reference_object"."RFOOT615" < 5
-
- setcurrentobject "gi2_reference_object"."RFOOT615"
- emitsmoke 0 -10 0 frames 2 grow 1 size 1 rate 0 color 50 50 50 alpha 10 vel 0 0.2 0 rand 0.4 0.4 0.4
- pause 4
- set_operate "gi2_reference_object"."RFOOT615" "null"
- forever
-
- end_procedure
-
- return
-
- //************************************************************************************
-
- end //------- end of GI's task
-
-
-
-
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
-
-
-
-
- create "grunt"
- position 1350 on ground 1145
- label "grunt_dummy"
- task
-
- //-------- grunt gosubs --------
- comment
- gosub "grunt_stomp_1"
- gosub "grunt_stomp_2"
-
- gosub "grunt_walk_1"
- gosub "grunt_walk_2"
- gosub "grunt_walk_3"
- gosub "grunt_walk_rotate_left_90"
- gosub "grunt_walk_rotate_right_90"
- gosub "grunt_walk_rotate_left_60"
- gosub "grunt_walk_rotate_right_60"
- gosub "grunt_walk_rotate_left_30"
- gosub "grunt_walk_rotate_right_30"
-
- gosub "grunt_run_1"
- gosub "grunt_run_2"
- gosub "grunt_run_3"
- gosub "grunt_run_4"
- gosub "grunt_run_rotate_left_90"
- gosub "grunt_run_rotate_right_90"
- gosub "grunt_run_rotate_left_60"
- gosub "grunt_run_rotate_right_60"
- gosub "grunt_run_rotate_left_30"
- gosub "grunt_run_rotate_right_30"
-
- gosub "grunt_aim"
- gosub "grunt_fire"
- gosub "grunt_death_forwards"
- gosub "grunt_death_backwards"
- gosub "grunt_run_fire_1"
- gosub "grunt_kneel"
- gosub "grunt_kneel_dive"
- gosub "grunt_kneel_look"
-
- gosub "grunt_idle_a"
-
- gosub "grunt_casual_walk_1"
- gosub "grunt_casual_walk_2"
- gosub "grunt_casual_walk_3"
- gosub "grunt_casual_walk_rotate_left_90"
- gosub "grunt_casual_walk_rotate_right_90"
- gosub "grunt_casual_walk_rotate_left_60"
- gosub "grunt_casual_walk_rotate_right_60"
- gosub "grunt_casual_walk_rotate_left_30"
- gosub "grunt_casual_walk_rotate_right_30"
-
- gosub "grunt_sprint"
-
-
- endcomment
- //-------- grunt gosubs --------
-
- wait_until flag 31 set
- wait_until flag 31 clear
-
- .grunt_walk_finish_anim
- do
- throttle 0.3 frames 1
- until "current_object" finished animation
- rotate 0 0 0 frames 0
- throttle 0 frames 0
- return
-
-
- //----------------
- .grunt_walk_1
- playanim me 0
- throttle 0.3 frames 36
- return
-
- .grunt_walk_2
- playanim me 0
- throttle 0.3 frames 72
- return
-
- .grunt_walk_3
- playanim me 0
- throttle 0.3 frames 144
- return
-
- .grunt_walk_rotate_left_90
- gosub "grunt_walk_rotate_left_60"
- gosub "grunt_walk_rotate_left_30"
- return
-
- .grunt_walk_rotate_right_90
- gosub "grunt_walk_rotate_right_60"
- gosub "grunt_walk_rotate_right_30"
- return
-
- .grunt_walk_rotate_left_60
- gosub "grunt_walk_rotate_left_30"
- gosub "grunt_walk_rotate_left_30"
- return
-
- .grunt_walk_rotate_right_60
- gosub "grunt_walk_rotate_right_30"
- gosub "grunt_walk_rotate_right_30"
- return
-
- .grunt_walk_rotate_left_30
- playanim me 0
- rotate 0 0.05 0 frames 0
- throttle 0.3 frames 88
- rotate 0 0 0 frames 0
- gosub "grunt_walk_finish_anim"
- return
-
- .grunt_walk_rotate_right_30
- playanim me 0
- rotate 0 -0.05 0 frames 0
- throttle 0.3 frames 88
- rotate 0 0 0 frames 0
- gosub "grunt_walk_finish_anim"
- return
- //----------------
-
-
- //----------------
- .grunt_run_1
- playanim me 3
- throttle 1 frames 25
- return
-
- .grunt_run_2
- playanim me 3
- throttle 1 frames 48
- return
-
- .grunt_run_3
- playanim me 3
- throttle 1 frames 96
- return
-
- .grunt_run_4
- playanim me 3
- throttle 1 frames 195
- return
-
- .grunt_run_rotate_left_90
- gosub "grunt_run_rotate_left_60"
- gosub "grunt_run_rotate_left_30"
- return
-
- .grunt_run_rotate_right_90
- gosub "grunt_run_rotate_right_60"
- gosub "grunt_run_rotate_right_30"
- return
-
- .grunt_run_rotate_left_60
- gosub "grunt_run_rotate_left_30"
- gosub "grunt_run_rotate_left_30"
- return
-
- .grunt_run_rotate_right_60
- gosub "grunt_run_rotate_right_30"
- gosub "grunt_run_rotate_right_30"
- return
-
- .grunt_run_rotate_left_30
- playanim me 3
- rotate 0 0.05 0 frames 0
- throttle 1 frames 88
- rotate 0 0 0 frames 0
- gosub "finish_anim"
- ; do
- ; rotate 0 1 0 frames 0
- ; throttle 1 frames 2
- ; for 44 loops
- return
-
- .grunt_run_rotate_right_30
- playanim me 3
- rotate 0 -0.05 0 frames 0
- throttle 1 frames 88
- rotate 0 0 0 frames 0
- gosub "finish_anim"
- ; do
- ; rotate 0 -1 0 frames 0
- ; throttle 1 frames 2
- ; for 44 loops
- return
- //----------------
-
-
- //----------------
- .grunt_aim
- playanim me 6
- throttle 0 frames 24
- return
-
- ;.grunt_fire
- ; playanim me 1
- ; throttle 0 frames 8
- ; fire_main
- ; throttle 0 frames 8
- ; fire_main
- ;return
-
- .grunt_fire
- playanim me 1
- throttle 0 frames 4
- fire_main
- throttle 0 frames 4
- fire_main
- throttle 0 frames 4
- fire_main
- throttle 0 frames 4
- fire_main
- return
-
- .grunt_death_forwards
- playanim me 5
- throttle 0 frames 36
- return
-
- .grunt_death_backwards
- playanim me 4
- throttle 0 frames 36
- return
-
- .grunt_run_fire_1
- playanim me 2
- throttle 1 frames 9
- fire_main
- throttle 1 frames 9
- fire_main
- throttle 1 frames 9
- fire_main
- throttle 1 frames 8
- fire_main
- throttle 1 frames 1
- return
-
- .grunt_kneel
- gosub "finish_anim"
- playanim me 8
- throttle 1 frames 16
- throttle 0 frames 20 ;36
- return
-
- .grunt_kneel_dive
- playanim me 9
- throttle 0 frames 50
- return
-
- .grunt_kneel_look
- throttle 0 frames 1
- playanim me 10 frames 180
- playanim me 10 frames 180
- return
-
- .grunt_idle_a
- playanim me 12 frames 250
- return
-
- //----------------
- .grunt_casual_walk_1
- playanim me 11
- throttle 0.3 frames 50
- return
-
- .grunt_casual_walk_2
- playanim me 11
- throttle 0.3 frames 100
- return
-
- .grunt_casual_walk_3
- playanim me 11
- throttle 0.3 frames 300
- return
-
- .grunt_casual_walk_rotate_left_90
- gosub "grunt_casual_walk_rotate_left_60"
- gosub "grunt_casual_walk_rotate_left_30"
- return
-
- .grunt_casual_walk_rotate_right_90
- gosub "grunt_casual_walk_rotate_right_60"
- gosub "grunt_casual_walk_rotate_right_30"
- return
-
- .grunt_casual_walk_rotate_left_60
- gosub "grunt_casual_walk_rotate_left_30"
- gosub "grunt_casual_walk_rotate_left_30"
- return
-
- .grunt_casual_walk_rotate_right_60
- gosub "grunt_casual_walk_rotate_right_30"
- gosub "grunt_casual_walk_rotate_right_30"
- return
-
- .grunt_casual_walk_rotate_left_30
- playanim me 11
- rotate 0 0.05 0 frames 0
- throttle 0.3 frames 88
- rotate 0 0 0 frames 0
- gosub "grunt_walk_finish_anim"
- return
-
- .grunt_casual_walk_rotate_right_30
- playanim me 11
- rotate 0 -0.05 0 frames 0
- throttle 0.3 frames 88
- rotate 0 0 0 frames 0
- gosub "grunt_walk_finish_anim"
- return
- //----------------
- .grunt_shuffle_1
- playanim me 27
- throttle 0.25 frames 39
- return
-
- //----------------
- .grunt_sprint
- playanim me 28
- throttle 1 frames 19
- return
-
- //************************************************************************************
- .grunt_stomp_1
-
- procedure "grunt_sounds_1"
-
- ;referenceobject "current_object"
- label "g_reference_object"
- do
- wait_until distance_between "g_reference_object"."lfoot18" and 0 on ground 0 local to "g_reference_object"."lfoot18" > 10
- wait_until distance_between "g_reference_object"."lfoot18" and 0 on ground 0 local to "g_reference_object"."lfoot18" < 10
-
- setcurrentobject "g_reference_object"."lfoot18"
- emitsmoke 0 0 32 frames 2 grow 1 size 0.2 rate 0 color 50 50 50 alpha 10 vel 0 0.1 0 rand 0.1 0.1 0.1
- pause 7
- set_operate "g_reference_object"."lfoot18" "null"
-
- wait_until distance_between "g_reference_object"."rfoot116" and 0 on ground 0 local to "g_reference_object"."rfoot116" > 10
- wait_until distance_between "g_reference_object"."rfoot116" and 0 on ground 0 local to "g_reference_object"."rfoot116" < 10
-
- setcurrentobject "g_reference_object"."rfoot116"
- emitsmoke 0 0 20 frames 2 grow 1 size 0.1 rate 0 color 50 50 50 alpha 10 vel 0 0.1 0 rand 0.1 0.1 0.1
- pause 7
- set_operate "g_reference_object"."rfoot116" "null"
- forever
-
- end_procedure
-
- return
-
- //************************************************************************************
- .grunt_stomp_2
-
- procedure "grunt_sounds_2"
-
- label "g2_reference_object"
- do
- wait_until distance_between "g2_reference_object"."lfoot18" and 0 on ground 0 local to "g2_reference_object"."lfoot18" > 10
- wait_until distance_between "g2_reference_object"."lfoot18" and 0 on ground 0 local to "g2_reference_object"."lfoot18" < 10
-
- setcurrentobject "g2_reference_object"."lfoot18"
- emitsmoke 0 -10 0 frames 2 grow 1 size 1 rate 0 color 50 50 50 alpha 10 vel 0 0.2 0 rand 0.4 0.4 0.4
- pause 7
- set_operate "g2_reference_object"."lfoot18" "null"
-
- wait_until distance_between "g2_reference_object"."rfoot116" and 0 on ground 0 local to "g2_reference_object"."rfoot116" > 10
- wait_until distance_between "g2_reference_object"."rfoot116" and 0 on ground 0 local to "g2_reference_object"."rfoot116" < 10
-
- setcurrentobject "g2_reference_object"."rfoot116"
- emitsmoke 0 -10 0 frames 2 grow 1 size 1 rate 0 color 50 50 50 alpha 10 vel 0 0.2 0 rand 0.4 0.4 0.4
- pause 7
- set_operate "g2_reference_object"."rfoot116" "null"
- forever
-
- end_procedure
-
- return
-
- //************************************************************************************
-
- end //------- end of grunt's task
-
-
-
-
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
- //************************************************************************************
-
-
-
- kill "emech_dummy"
- kill "amech_dummy"
- kill "gi_dummy"
- kill "grunt_dummy"
- kill "hog_dummy"
- kill "terauman_dummy"
-
-